package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.WorkflowApplyLineUserDTO;
import com.hunttown.mes.rpc.domain.query.WorkflowApplyLineUserDTOQuery;

/**
 * created by wangjunfu on 2020-12-24 09:18:14
 */
public interface WorkflowApplyLineUserRpcService {

    WorkflowApplyLineUserDTO insert(WorkflowApplyLineUserDTO workflowApplyLineUserDTO);

    Boolean updateInfoById(WorkflowApplyLineUserDTO workflowApplyLineUserDTO);

    Boolean updateInfoByQuery(WorkflowApplyLineUserDTOQuery workflowApplyLineUserDTOQuery);

    WorkflowApplyLineUserDTO selectById(Integer id);

    WorkflowApplyLineUserDTO selectObjByQuery(WorkflowApplyLineUserDTOQuery workflowApplyLineUserDTOQuery);

    Page<WorkflowApplyLineUserDTO> getListForPage(WorkflowApplyLineUserDTOQuery workflowApplyLineUserDTOQuery);

    Boolean deleteById(Integer id);
}